home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / prog / mysteryc.arj / EXH37.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-07  |  229 b   |  16 lines

  1. #include <stdio.h>
  2. main()
  3. {
  4.  int a, b;
  5.  printf("Enter two numbers: ");
  6.  scanf("%d%d",&a,&b);
  7.  if (a > b)
  8.  printf("a is greater than b");
  9.  else
  10.  if (b > a)
  11.  printf("b is greater than a");
  12.  else
  13.  printf("a=b");
  14.  
  15.  }
  16.